Changed ProfileViewModel to handle cookies

Also moved cookies keys to webconfig and provided helper class to
retrieve them.