limiting login for particular purpose