added login and pics pages