fixed the query for proposals, did not work on postgresql. Also fixed logins div position on mobile devices
merge