Storing logged users info server side and keeping session alive between page refreshes, by using coookie with session id